package com.ftf.tp.message.infrastructure.mapper.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *
 * @author tanghao
 * @date 2022/8/29
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "system_notice")
public class SystemNotice {
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 通知内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 通知类型
     */
    @TableField(value = "`type`")
    private Integer type;

    /**
     * 阅读次数
     */
    @TableField(value = "read_times")
    private Integer readTimes;

    /**
     * 通知时间
     */
    @TableField(value = "created_time")
    private Date createdTime;
}